package usf.gwt.ui.bootstrap.client;

import com.google.gwt.dom.client.InputElement;
import com.google.gwt.user.client.DOM;

public class CheckBox extends CheckableControl {
	
	private static final String CHECKBOX_STYLE = "checkbox";
	
	@Override
	public InputElement createCheckable() {
		return DOM.createInputCheck().cast();
	}
	@Override
	protected void initStyle() {
		getElement().setClassName(CHECKBOX_STYLE);
	}
}
